@charset "UTF-8";
@import './scssconfig.scss';

#slide-wrap {
  overflow: hidden;
  position: relative;
}
//轮播图
.slide-content {
  position: relative;
  left: 0;
  @include webkit(transition, all 1s ease 0s);
  li {
    float: left;
  }
  img {
    display: block;
  }
}
//轮播图导航样式
.slide-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0;
  a {
    display: inline-block;
    width: 10px;
    height: 3px;
    margin: 0 5px;
    background-color: #ffffff;
    text-align: center;
    opacity: 0.5;
    &.current {
      opacity: 1;
    }
  }
}
//轮播图导航标签样式
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  margin-top: -18px;
  //鼠标样式
  cursor: pointer;
  //箭头图标样式
  .iconfont {
    color: #ffffff;
    font-size: 30px;
    opacity: 0.9;
  }
}
.slide-prev {
  left: 20px;
}
.slide-next {
  right: 20px;
}
//朗朗口腔样式
.info-list {
  figure {
    float: left;
    width: 33.3333%;
    padding: 0 25px;
    @include webkit(box-sizing, border-box);
  }
  a {
    color: $text-main;
  }
  img {
    width: 100%;
  }
  figcaption {
    font-size: 18px;
    border-bottom: 1px solid $text-gray;
    padding: 22px 0 8px;
  }
  p {
    padding-top: 10px;
    color: $text-gray;
    line-height: 22px;
  }
  //加载更多样式
  .more-link {
    display: block;
    margin: 60px auto 90px;
    width: 110px;
    height: 37px;
    border: 1px solid $text-gray;
    border-radius: 100px;
    color: $text-gray;
    text-align: center;
    line-height: 37px;
    @include webkit(transition, all 0.3s ease 0s);
    &:hover {
      background-color: $color-main;
      color: #fff;
      border-color: $color-main;
    }
  }
}
//朗朗公益样式
.welfare {
  margin-bottom: 90px;
  header {
    background-color: #efefef;
  }
  .welfare-wrap {
    display: flex;
    height: 570px;
    .row {
      flex: 1;
      //对内容进行具体定位
      &:first-child {
        .content-doc {
          padding-top: 38px;
        }
      }
      &:last-of-type {
        .content-doc {
          padding-top: 46px;
        }
        .content-flex-big {
          order: 2;
        }
        .content-flex-small {
          order: 1;
        }
        .line-more {
          color: #fff;
          border-color: #fff;
        }
      }
    }
    img {
      display: block;
    }
    .content-flex {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .content-flex-big {
      height: 100%;
      flex: 2;
    }
    .content-flex-small {
      flex: 1;
    }
    //文本内容样式
    .content-doc {
      padding: 50px 48px 0 40px;
      .title {
        font-size: 24px;
      }
      time {
        display: block;
        opacity: 0.5;
        padding-top: 16px;
        padding-bottom: 21px;
      }
      .doc {
        margin-top: 34px;
        line-height: 24px;
        font-size: 12px;
      }
    }
  }
}

//医生样式
.doctor {
  padding: 90px 0;
  background-color: #f6f6f6;
  .img {
    position: relative;
    float: left;
    .name {
      display: block;
      position: absolute;
      height: 48px;
      line-height: 48px;
      margin-top: -24px;
      background-color: rgba($color: #000000, $alpha: 0.2);
      padding: 0 29px;
      color: #ffffff;
      font-size: 18px;
      top: 50%;
      right: 0;
    }
  }

  .content {
    margin-left: 565px;
  }
  .title {
    font-size: 18px;
    padding-top: 13px;
  }
  .specialty {
    display: block;
    color: $text-gray;
    padding-top: 15px;
    padding-bottom: 19px;
  }
  .doc {
    color: $text-gray;
    line-height: 22px;
    padding-top: 20px;
  }
  .line-more {
    border: none;
    font-weight: bold;
    margin-left: -10px;
  }
  //重构swiper底部导航代码
  .doctor-swiper-pagination {
    left: 0;
    right: 0;
    top: 45px;
    span {
      margin: 0 2.5px;
    }
    .swiper-pagination-bullet {
      width: 8px;
      height: 3px;
      opacity: 1;
      background-color: $text-gray;
      border-radius: 0;
    }
    .swiper-pagination-bullet-active {
      background-color: #000;
    }
  }
}
// 新闻页边距
.news-list {
  .item {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 39px;
    margin-bottom: 40px;
  }
}
//合作伙伴
.partners-list {
  .row-wrap {
    padding-bottom: 80px;
  }
  .item {
    padding: 0 25px;
    opacity: 0.5;
    @include webkit(transition, all 0.3s ease 0s);
    &:hover {
      opacity: 1;
    }
  }
  img {
    border-radius: 8px;
  }
  a {
    display: block;
    box-shadow: 0 0 15px 0 rgba($color: #000, $alpha: 0.2);
    border-radius: 8px;
  }
  figcaption {
    text-align: center;
    padding: 35px;
    @include ell(1);
  }
}
//门诊列表
.shop-wrap {
  .item {
    position: relative;
    background-color: #fff;
    margin: 80px 0;
    @extend %clearfix;
    &:last-child {
      .content::after {
        border: none;
      }
    }
    &:nth-child(2n) {
      .img {
        float: right;
      }
      .shop-logo {
        left: 0;
      }
    }
    .img {
      position: relative;
      float: left;
      width: 50%;
    }
    .content {
      padding: 0 31px;
      float: left;
      width: 50%;
      @include webkit(box-sizing, border-box);
      .doc {
        @include ell(1);
      }
      .title {
        padding-bottom: 20px;
      }
      &::after {
        content: '';
        display: block;
        width: 60px;
        border-bottom: 1px solid $text-gray;
        position: absolute;
        left: 50%;
        margin-left: -30px;
        bottom: -40px;
      }
    }
    .shop-logo {
      position: absolute;
      right: 0;
      top: 50%;
      margin-top: -32px;
    }
  }
}
//公益活动
.welfare-wrap {
  margin-top: 97px;
  .item:nth-child(2n) {
    img {
      float: right;
    }
    .content {
      left: 2%;
    }
  }
  .item {
    position: relative;
    @extend %clearfix;
    margin-bottom: 100px;
  }
  img {
    float: left;
  }
  .content {
    width: 50%;
    left: 40%;
    bottom: 0;
    padding: 52px 64px 52px 39px;
    position: absolute;
    background-color: #fff;
    time {
      padding: 0;
    }
    .title {
      padding-top: 14px;
      padding-bottom: 20px;
    }
  }
}
// 联系我们
.contact-wrap {
  .content-wrap {
    @extend %clearfix;
    margin-top: 100px;
  }
  .info {
    float: left;
    text-align: center;
    padding: 40px 70px;
    background-color: #fff9f9f9;
  }
  .title {
    font-size: 24px;
    line-height: 36px;
    padding-bottom: 30px;
  }
  span {
    display: block;
    color: #a0a0a0;
  }
  .phone {
    display: inline-block;
    line-height: 44px;
    font-size: 18px;
    padding: 0 25px;
    margin: 11px 0 33px;
    color: #fff;
    background-color: $color-main;
    border-radius: 50px;
  }
  strong {
    color: $color-main;
  }
  p {
    line-height: 20px;
    padding-bottom: 30px;
    &:last-child {
      padding-bottom: 0;
    }
  }
}
// form表单
.contact-form {
  margin-left: 500px;
  .form-title {
    border-top: 1px solid $text-gray;
    line-height: 85px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
  }
  .input-item {
    border-bottom: 1px solid $text-gray;
    margin-bottom: 26px;
  }
  textarea {
    height: 130px;
  }
  input,
  textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }
  button[type='button'] {
    width: 115px;
    height: 40px;
    background-color: black;
    color: #ffffff;
    border: none;
    font-size: 16px;
  }
}
//加入我们
.job-banner {
  background: url(../image/doc-img011.png) no-repeat center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  padding: 110px 0;
  margin: 100px 0;
  h4 {
    font-size: 55px;
  }
  p {
    font-size: 24px;
    padding-bottom: 20px;
    padding-top: 36px;
  }
  span {
    font-size: 14px;
    text-transform: uppercase;
  }
}
//职位列表
.job-list {
  header {
    background-color: #f9f9f9;
    position: relative;
    padding: 0 32px;
    line-height: 45px;
    font-size: 14px;
    span {
      margin-right: 60px;
    }
    &::after {
      content: '+';
      position: absolute;
      right: 20px;
      font-size: 20px;
    }
  }
  .mark {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
  }
  section {
    margin-bottom: 10px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .show {
    header::after {
      content: '-';
    }
    .content {
      display: block;
    }
  }
  .content {
    display: none;
    padding: 32px 32px 0;
  }
  p {
    line-height: 30px;
  }
  a {
    color: #000000;
  }
  button {
    border: none;
    outline: none;
    margin-top: 20px;
    display: inline-block;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: $color-main;
  }
  span {
    display: inline-block;
    margin-top: 17px;
    margin-right: 60px;
  }
}
//文章详情
#article-content {
  margin-top: 86px;
  position: relative;
  article {
    padding: 0 70px;
  }
  header {
    text-align: center;
    border-bottom: 1px solid $text-gray;
    .title {
      font-size: 30px;
      padding-bottom: 21px;
    }
    span {
      color: $text-gray;
      display: inline-block;
      padding: 0 10px 32px;
    }
  }
  section {
    padding-top: 40px;
    padding-bottom: 70px;
    img {
      max-width: 100%;
    }
    p {
      font-size: 15px;
      line-height: 36px;
      padding: 13px 0;
      text-indent: 2em;
    }
  }
  footer {
    display: flex;
    border-top: 1px solid $text-gray;
    border-bottom: 1px solid $text-gray;
    a {
      flex: 1;
      color: #000000;
      line-height: 40px;
    }
    a:first-child {
      i {
        padding-right: 5px;
      }
    }
    a:last-child {
      i {
        padding-left: 5px;
      }
    }
  }
  .line-more {
    border-color: $text-gray;
    margin: 70px auto;
  }
}
//简介界面
.introduction-info {
  margin: 80px 0;
  header {
    display: none;
  }
  img {
    width: 100%;
  }
  .content {
    @extend %clearfix;
    position: relative;
    margin-bottom: 70px;
    &:last-child {
      .img {
        float: right;
      }
      .doc-content {
        left: 0;
        right: 35%;
        border-right: 30px solid #fff;
        border-left: none;
      }
    }
  }
  .img {
    float: left;
    width: 50%;
  }
  .doc-content {
    position: absolute;
    top: 0;
    left: 35%;
    float: left;
    border-left: 30px solid #ffffff;
    border-bottom: 30px solid #ffffff;
    background-color: #21b8c6;
    color: #ffffff;
    padding: 35px;
    @include webkit(box-sizing, border-box);
    .doc {
      line-height: 20px;
      font-size: 14px;
      text-indent: 2em;
      margin-bottom: 30px;
    }
  }
}
.introduction-banner {
  background: url(../image/doc-img016.png) no-repeat;
  background-size: cover;
  header {
    padding-top: 84px;
    padding-bottom: 63px;
    color: #ffffff;
  }
  .nav {
    text-align: center;
    padding-bottom: 76px;
    span {
      display: inline-block;
      position: relative;
      background-color: #b45d01;
      font-size: 14px;
      padding: 20px 34px;
      margin: 0 12px;
      color: #fff;
    }
    .show {
      background-color: #21b8c6;
      &::after {
        content: '';
        position: absolute;
        z-index: 2;
        top: 100%;
        left: 50%;
        margin-left: -10px;
        border-top: 5px solid #21b8c6;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
      }
    }
  }
  .row-wrap {
    .col-item-4 {
      .content {
        background-color: rgba($color: #000000, $alpha: 0.5);
        padding: 38px 45px 76px;
      }

      p {
        color: #ffffff;
        font-size: 13px;
        line-height: 30px;
        opacity: 1;
        text-align: center;
      }
    }
    margin-bottom: 87px;
  }
}
.teamStyle {
  background-color: #f6f6f6;
  padding-bottom: 66px;
  .row-wrap {
    padding-top: 70px;
  }
  .col-item-4 {
    text-align: center;
    h5 {
      padding-top: 30px;
      padding-bottom: 16px;
      font-size: 14px;
      font-weight: 400px;
    }
    p {
      color: $text-gray;
    }
  }
}
.honor {
  @extend %clearfix;
  margin-bottom: 146px;
  .img {
    float: left;
    padding: 0 21px;
    width: 20%;
    @include webkit(box-sizing, border-box);
  }
  .content {
    margin: 0 45px;
  }
  .honor-swiper-pagination {
    left: 0;
    right: 0;
    top: 70px;
    span {
      margin: 0 2px;
    }
    .swiper-pagination-bullet {
      width: 6px;
      height: 6px;
      outline: none;
      border-radius: 50%;
      opacity: 1;
      background-color: $text-gray;
    }
    .swiper-pagination-bullet-active {
      background-color: #7fc018;
      width: 11px;
      height: 6px;
      border-radius: 5px;
    }
  }
}
